FROM jenkinsci/ssh-slave
COPY jks.pub /tmp/jks.pub 
USER root
WORKDIR /root
RUN mkdir -p .ssh && chmod 700 .ssh && cat /tmp/jks.pub >> .ssh/authorized_keys && chmod 600 .ssh/authorized_keys && rm -rf /tmp/jks.pub 
